package services;

import beans.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserServices {
    User login(String userId, String userPassword);

    List<User> selectList();

    List<User> selectSelective(String selectText,String inputText);

    int deleteByPrimaryKey(Integer aftersalesId);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer aftersalesId);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    int count();
}
